Builder

class Builder

A builder of TouchStarted.

Builders are created by invoking newBuilder}. Each of the setter methods modifies the state of the builder and returns the same instance. Builders are not thread-safe and should not be used concurrently from multiple threads without external synchronization.

Functions

Link copied to clipboard
open fun build(): TouchStarted
Creates a new TouchStarted instance on top of this builder.
Link copied to clipboard
Sets the touch points that became active with the current event.
Link copied to clipboard
Sets the keyboard modifiers to apply.
Link copied to clipboard
Sets the touch points that started on the target element of this event.